package com.mybatis.service;

import com.mybatis.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author liuxiaoding
 * @Date 2019/11/8
 **/
public interface UserService {
    int insert(User user);


    int delete(int id);


    int update(User user);

    User select(int id);

    List<User> selectAll();

    User selectUserInfo(Integer id);


    User selectUserShipAddress(Integer id);

    List<User> selectByUserIds(List<Integer> userIds);
}
